package com.initial.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName tb_crm_contract
 */
@TableName(value ="tb_crm_contract")
@Data
public class TbCrmContract implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String number;

    private Integer businessId;

    private BigDecimal price;

    private String dueTime;

    private Integer ownerUserId;

    private Integer creatorUserId;

    private String content;

    private String description;

    private String createTime;

    private String updateTime;

    private String startDate;

    private String endDate;

    private String status;

    @TableLogic
    private Integer deleteStatus;

    private Integer deleteUserId;

    private String deleteTime;

    private TbSystemUser tbSystemUser;
    private TbCrmCustomer tbCrmCustomer;
    private TbCrmContacts tbCrmContacts;
    private TbCrmBusiness tbCrmBusiness;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}